Show:

Streams access Class

Access tool

Constructor

Streams access

(
  • $options
)

Parameters:

  • $options Array

    Options for the tool

    • [publisherId] String optional

      the id of the user who is publishing the stream

    • [streamName] String optional

      the name of the stream for which to edit access levels

    • [tabs] Array optional

      array of tab name => title. Defaults to read, write, admin tabs.

    • [ranges] Array optional

      associative array with keys "read", "write", "admin" and values as associative arrays of ($min, $max) for the displayed levels.

    • [controls] Boolean optional

      optionally set this to true to render only the controls

Item Index